package com.demo.domain;

public class CarToon {
    private Integer id;
    private String name;
    private Integer stars;
    private int isBanner;

    public CarToon() {
    }

    public CarToon(Integer id, String name, Integer stars, int isBanner) {
        this.id = id;
        this.name = name;
        this.stars = stars;
        this.isBanner = isBanner;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStars() {
        return stars;
    }

    public void setStars(Integer stars) {
        this.stars = stars;
    }

    public int getIsBanner() {
        return isBanner;
    }

    public void setIsBanner(int isBanner) {
        this.isBanner = isBanner;
    }

    @Override
    public String toString() {
        return "CarToon{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", stars=" + stars +
                ", isBanner=" + isBanner +
                '}';
    }
}
